package org.yonggan.dmp.tag

import org.apache.spark.sql.Row
import org.yonggan.dmp.utils.UserTagUtils

/**
  * 设备标签
  *
  */
object EquipmentTag extends Tag {
  /**
    * 设备标签
    *
    * @param agrs 0 row
    * @return List[(String,Int)]  标签集合
    */
  override def makeTag(agrs: Any*): List[(String, Int)] = {

    val row = agrs(0).asInstanceOf[Row]
    // 设备详情
    val eqInfo: List[(String, Int)] = UserTagUtils.equipmentInfo(row)
    eqInfo
  }
}
